package com.ccz.demo.design.decorated;

public class DecoratedClient {

    public static void main(String[] args) {
        Component component = new ConcreteComponent();
        component.move();
        Component decoratorA = new ConcreteDecoratorA(component);
        decoratorA.move();
        Component decoratorB = new ConcreteDecoratorA(component);
        decoratorB.move();
    }

}
